//
// Created by Winter on 2021/1/29.
//

#ifndef MUSIC_APPLICATION_H
#define MUSIC_APPLICATION_H

#include <QWidget>
#include <QApplication>
#include <QString>
#include <QFile>
#include <qdebug.h>

class Application : public QWidget {
Q_OBJECT
public:
    explicit Application(QApplication *qApplication, QWidget *parent = 0);

    void loadStyleSheet(const QString &sheetName);

    void initSetting();

    void initLayout();

    void initConnection();

    void initEntity();

    ~Application();

public:
    bool isMainOnTop;            //标记当期主体控件是否在最顶层
    QApplication *pApp;
};


#endif //MUSIC_APPLICATION_H
